package com.yilin.tms.core.entity.gps;


import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Document("gps_beidou_track")//指定数据库中的集合（相当于mysql中的表）
public class GpsBeidouPoint implements Serializable {
    @Id
    private String _id;
    private Date gpsTime;
    private Long parkingTime; //停车时长 ms
    private Double bdLng;
    private Double bdLat;
    private Double gdLnt;
    private Double gdLat;
    private Double bear;
    private Double speed;
    private Double elevation;
    private String transportNo;

    public Long getParkingTime() {
        return parkingTime;
    }

    public void setParkingTime(Long parkingTime) {
        this.parkingTime = parkingTime;
    }

    public String getTransportNo() {
        return transportNo;
    }

    public void setTransportNo(String transportNo) {
        this.transportNo = transportNo;
    }

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public Double getElevation() {
        return elevation;
    }

    public void setElevation(Double elevation) {
        this.elevation = elevation;
    }

    public Date getGpsTime() {
        return gpsTime;
    }

    public void setGpsTime(Date gpsTime) {
        this.gpsTime = gpsTime;
    }

    public Double getBdLng() {
        return bdLng;
    }

    public void setBdLng(Double bdLng) {
        this.bdLng = bdLng;
    }

    public Double getBdLat() {
        return bdLat;
    }

    public void setBdLat(Double bdLat) {
        this.bdLat = bdLat;
    }

    public Double getGdLnt() {
        return gdLnt;
    }

    public void setGdLnt(Double gdLnt) {
        this.gdLnt = gdLnt;
    }

    public Double getGdLat() {
        return gdLat;
    }

    public void setGdLat(Double gdLat) {
        this.gdLat = gdLat;
    }

    public Double getBear() {
        return bear;
    }

    public void setBear(Double bear) {
        this.bear = bear;
    }

    public Double getSpeed() {
        return speed;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }

}
